# f = open("day8",mode="r",encoding="utf-8")
# f.read()

# with open("day8",mode="r",encoding="utf-8") as f:  # 面向对象中上下文管理
#     print(f.read())

# with open 帮助自动关闭文件
# with open 同时操作多个文件

# with open("day8",mode="r",encoding="utf-8") as f,\
#     open("a",mode="w",encoding="gbk") as f1:
#     print(f.read())
#     f1.write("真饿!")


